package yyds.sniarbtej;

import java.util.List;

public final class License {
    private String licenseId;
    private String licenseeName;
    private String assigneeName;
    private String assigneeEmail;
    private String licenseRestriction;
    private boolean checkConcurrentUse;
    private List<Product> products;
    private String metadata;
    private String hash;
    private int gracePeriodDays;
    private boolean autoProlongated;
    private boolean isAutoProlongated;

    public License() {
        this.licenseId = "SNIBTEJ";
        this.licenseeName = "JetBrains YYDS";
        this.assigneeName = "";
        this.assigneeEmail = "";
        this.licenseRestriction = "JetBrains YYDS. Please Support Genuine!!!";
        this.metadata = "999999999999AAAAAAAA";
        this.hash = "666666";
        this.gracePeriodDays = 7;
    }

    public String getLicenseId() {
        return this.licenseId;
    }

    public void setLicenseId(final String licenseId) {
        this.licenseId = licenseId;
    }

    public String getLicenseeName() {
        return this.licenseeName;
    }

    public void setLicenseeName(final String licenseeName) {
        this.licenseeName = licenseeName;
    }

    public String getAssigneeName() {
        return this.assigneeName;
    }

    public void setAssigneeName(final String assigneeName) {
        this.assigneeName = assigneeName;
    }

    public String getAssigneeEmail() {
        return this.assigneeEmail;
    }

    public void setAssigneeEmail(final String assigneeEmail) {
        this.assigneeEmail = assigneeEmail;
    }

    public String getLicenseRestriction() {
        return this.licenseRestriction;
    }

    public void setLicenseRestriction(final String licenseRestriction) {
        this.licenseRestriction = licenseRestriction;
    }

    public boolean isCheckConcurrentUse() {
        return this.checkConcurrentUse;
    }

    public void setCheckConcurrentUse(final boolean checkConcurrentUse) {
        this.checkConcurrentUse = checkConcurrentUse;
    }

    public List<Product> getProducts() {
        return this.products;
    }

    public void setProducts(final List<Product> products) {
        this.products = products;
    }

    public String getMetadata() {
        return this.metadata;
    }

    public void setMetadata(final String metadata) {
        this.metadata = metadata;
    }

    public String getHash() {
        return this.hash;
    }

    public void setHash(final String hash) {
        this.hash = hash;
    }

    public int getGracePeriodDays() {
        return this.gracePeriodDays;
    }

    public void setGracePeriodDays(final int gracePeriodDays) {
        this.gracePeriodDays = gracePeriodDays;
    }

    public boolean isAutoProlongated() {
        return this.autoProlongated;
    }

    public void setAutoProlongated(final boolean autoProlongated) {
        this.autoProlongated = autoProlongated;
    }
}
